package com.zw.hrm.dto;

import com.zw.hrm.domain.Employee;
import com.zw.hrm.domain.Tenant;

public class EnteringDTO {
    //1.扁平化：接收几个字段就定义几个字段
    //2.对象组合

    //机构的参数
    private Tenant tenant;

    //管理员参数
    private Employee employee;

    //套餐id
    private Long mealId;

    @Override
    public String toString() {
        return "EnteringDTO{" +
                "tenant=" + tenant +
                ", employee=" + employee +
                ", mealId=" + mealId +
                '}';
    }

    public Tenant getTenant() {
        return tenant;
    }

    public void setTenant(Tenant tenant) {
        this.tenant = tenant;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Long getMealId() {
        return mealId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }
}
